//package com.xiguaji.tiktok.task.blogger_test.repository;
//
//import com.xiguaji.boot.data.clickhouse.ClickHouseTemplate;
//import com.xiguaji.tiktok.task.blogger_test.Demo;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.jdbc.core.BeanPropertyRowMapper;
//import org.springframework.stereotype.Repository;
//
//import java.util.List;
//
//@Repository
//public class BloggerClickHouseRepositoryImpl implements BloggerClickHouseRepository {
//    @Autowired
//    ClickHouseTemplate clickhouseTemplate;
//
//    @Override
//    public List<Demo> clickhouseSearch() {
//        return clickhouseTemplate.query("select * from blogger", new BeanPropertyRowMapper<>(Demo.class));
//    }
//}
